package config
import "fmt"
type action struct {
	url      string
	function string
}
func Init() {
	fmt.Println("加载action...")
	addAction("aaa", "bbb")
	addAction("aaa", "bbb")
}
var arrayAct  []action = make([]action, 2)
func addAction(url, function string) {
	act := action{url, function}
	addConfig(act)
}
func addConfig(act action) {
	arrayAct[0] = act
}